<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>2</title>
	</head>

	<body>
		<script>
			var wangHaoScore = 80;
			var zhangSanScore;
			zhangSanScore = wangHaoScore;
			alert("张三的成绩是：" + zhangSanScore);
		</script>

	</body>

</html>